package com.cfuture08.eweb4j.mvc.config.bean;

import java.util.List;

import com.cfuture08.util.xml.tag.XmlTag;
import com.cfuture08.util.xml.tag.XmlTagType;

/**
 * MVC组件用来存取配置信息的Bean
 * 
 * @author cfuture.aw
 * @since v1.a.0
 */
public class MVCConfigBean {
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "")
	private String name;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "")
	private String method;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "")
	private String clazz;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "")
	private String showErrorType;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.listClassType, value = "com.cfuture08.eweb4j.mvc.config.bean.FormBean")
	private List<FormBean> formBean;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.listClassType, value = "com.cfuture08.eweb4j.mvc.config.bean.Result")
	private List<Result> result;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.listClassType, value = "com.cfuture08.eweb4j.mvc.config.bean.Validator")
	private List<Validator> validator;
	@XmlTag(canRead = true, canWrite = true, type = XmlTagType.attriType, value = "com.cfuture08.eweb4j.mvc.config.bean.MVCConfigBean")
	private String xmlBean;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMethod() {
		return method;
	}

	public String getShowErrorType() {
		return showErrorType;
	}

	public void setShowErrorType(String showErrorType) {
		this.showErrorType = showErrorType;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public List<FormBean> getFormBean() {
		return formBean;
	}

	public void setFormBean(List<FormBean> formBean) {
		this.formBean = formBean;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

	public List<Validator> getValidator() {
		return validator;
	}

	public void setValidator(List<Validator> validator) {
		this.validator = validator;
	}

	public List<Result> getResult() {
		return result;
	}

	public void setResult(List<Result> result) {
		this.result = result;
	}

	public String getXmlBean() {
		return xmlBean;
	}

	public void setXmlBean(String xmlBean) {
		this.xmlBean = xmlBean;
	}
}
